package com.steam.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * [STRATO MyBatis Generator]
 * Table: t_user_limit
@mbggenerated do_not_delete_during_merge 2017-03-20 12:03:07
 */
public class UserLimit implements Serializable {
    /**
     *   用户ID
     * Column: t_user_limit.user_id
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer userId;

    /**
     *   用户登录类型(1pc,2安卓,3苹果)
     * Column: t_user_limit.login_type_id
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer loginTypeId;

    /**
     *   是否允许登录(0不允许,1允许)
     * Column: t_user_limit.enabled
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer enabled;

    /**
     *   修改时间
     * Column: t_user_limit.update_time
    @mbggenerated 2017-03-20 12:03:07
     */
    private Date updateTime;

    /**
     *   到期时间
     * Column: t_user_limit.stop_time
    @mbggenerated 2017-03-20 12:03:07
     */
    private Date stopTime;

    /**
     *   是否自动发(0否 1是)
     * Column: t_user_limit.auto_send
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer autoSend;

    /**
     *   是否重发(0否 1是)
     * Column: t_user_limit.repeat_send
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer repeatSend;

    /**
     *   是否全局搜索(0否 1是)
     * Column: t_user_limit.all_search
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer allSearch;

    /**
     *   是否定位(0否 1是)
     * Column: t_user_limit.is_location
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer isLocation;

    /**
     *   是否隐藏电话(0否 1是)
     * Column: t_user_limit.hide_phone
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer hidePhone;

    /**
     *   是否运行(0停机1开机)
     * Column: t_user_limit.is_run
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer isRun;

    /**
     *   是否允许发送(0不允许1允许)
     * Column: t_user_limit.is_send
    @mbggenerated 2017-03-20 12:03:07
     */
    private Integer isSend;

    /**
     *   备用字段(作废)
     * Column: t_user_limit.cancel
    @mbggenerated 2017-03-20 12:03:07
     */
    private String cancel;

    /**
     *   设备序列号
     * Column: t_user_limit.hardware
    @mbggenerated 2017-03-20 12:03:07
     */
    private byte[] hardware;

    /**
     * Table: t_user_limit
    @mbggenerated 2017-03-20 12:03:07
     */
    private static final long serialVersionUID = 1L;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getLoginTypeId() {
        return loginTypeId;
    }

    public void setLoginTypeId(Integer loginTypeId) {
        this.loginTypeId = loginTypeId;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getStopTime() {
        return stopTime;
    }

    public void setStopTime(Date stopTime) {
        this.stopTime = stopTime;
    }

    public Integer getAutoSend() {
        return autoSend;
    }

    public void setAutoSend(Integer autoSend) {
        this.autoSend = autoSend;
    }

    public Integer getRepeatSend() {
        return repeatSend;
    }

    public void setRepeatSend(Integer repeatSend) {
        this.repeatSend = repeatSend;
    }

    public Integer getAllSearch() {
        return allSearch;
    }

    public void setAllSearch(Integer allSearch) {
        this.allSearch = allSearch;
    }

    public Integer getIsLocation() {
        return isLocation;
    }

    public void setIsLocation(Integer isLocation) {
        this.isLocation = isLocation;
    }

    public Integer getHidePhone() {
        return hidePhone;
    }

    public void setHidePhone(Integer hidePhone) {
        this.hidePhone = hidePhone;
    }

    public Integer getIsRun() {
        return isRun;
    }

    public void setIsRun(Integer isRun) {
        this.isRun = isRun;
    }

    public Integer getIsSend() {
        return isSend;
    }

    public void setIsSend(Integer isSend) {
        this.isSend = isSend;
    }

    public String getCancel() {
        return cancel;
    }

    public void setCancel(String cancel) {
        this.cancel = cancel == null ? null : cancel.trim();
    }

    public byte[] getHardware() {
        return hardware;
    }

    public void setHardware(byte[] hardware) {
        this.hardware = hardware;
    }
}